<?php
/**
 * Created by PhpStorm.
 * User: mojie126
 * Date: 2017/5/25 0025
 * Time: 下午 13:45
 */

namespace app\backend\widget;

use app\index\model\Users;
use think\Controller;

class Widget extends Controller
{
	public function left()
	{
		return $this->fetch("Base/Left");
	}

	public function header()
	{
		$user_info = Users::getUserName(session("uid"));
		$this->assign("user", $user_info);

		return $this->fetch("Base/Header");
	}

	public function footer()
	{
		return $this->fetch("Base/Footer");
	}

}